﻿using System;

class Program
{
    static void Main()
    {
        int n = int.Parse(Console.ReadLine());
        for (int i = 0; i <= n/2; i++)
        {
            string dots = new String('.', i);
            string asterisks =new String('*',n-2*i);
            Console.Write(dots);
            Console.Write(asterisks);
            Console.Write(dots);
            Console.WriteLine();
        }
        for (int i = n/2-1; i >=0; i--)
        {
            string dots = new String('.', i);
            string asterisks =new String('*',n-2*i);
            Console.Write(dots);
            Console.Write(asterisks);
            Console.Write(dots);
            Console.WriteLine();
        }
    }
}

















